package com.ebuy.shopping.mapper;

import java.util.List;

import com.ebuy.shopping.model.Shop;

/**
 * 
 * @ClassName: ShopMapper
 * @Description: TODO
 * @author wenzhao
 * @date 2017年8月10日 上午10:23:24
 * 
 */
public interface ShopMapper
{
    int deleteByPrimaryKey(Integer id);

    int insert(Shop record);

    int insertSelective(Shop record);

    Shop selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Shop record);

    int updateByPrimaryKey(Shop record);

    List<Shop> selectShops();

    List<Shop> getShopsByUser(String userId);
}